package cn.kginglam.dynamic_excel.mapper;

import cn.kginglam.dynamic_excel.model.entity.StudentInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 开放学员信息表 Mapper 接口
 * </p>
 *
 * @author Lam
 * @since 2021-09-02
 */
public interface StudentInfoMapper extends BaseMapper<StudentInfo> {

    List<String> listPhoneByPhoneList(@Param("phoneList") List<String> phoneList);

    List<String> listCardNoByCardNoList(@Param("cardNoList")List<String> cardNoList);

    void batchSave(@Param("studentInfoList")List<StudentInfo> studentInfoList);

}
